package studentCourseSystem.entity;

public abstract class Person {
        protected String id;
        protected String name;
        protected String gender;
        public Person(String id, String name, String gender) {
            this.id = id;
            this.name = name;
            this.gender = gender;
        }
        public abstract void printWorkSheet();
        protected String getId() {
            return id;
        }

        protected void setId(String id) {
            this.id = id;
        }

        protected String getName() {
            return name;
        }

        protected void setName(String name) {
            this.name = name;
        }

        protected String getGender() {
            return gender;
        }

        protected void setGender(String gender) {
            this.gender = gender;
        }
}
